﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace dhDataAcess.baseBLL
{
    public  class dataConn
    {
        public static SqlConnection connOpen()
        {
            string connString = ConfigurationManager.ConnectionStrings["dhDataAcess.Properties.Settings.dhDataConnectionString"].ConnectionString.ToString();
            SqlConnection conn=new SqlConnection();
            conn.ConnectionString  = connString;
            conn.Open();
            return conn;
        }
    }
}
